package day08;

public class Student3 {
    public String name;
    public int age;
    public void read(){
        System.out.println("s1");
    }
    public void show(){
        System.out.println("姓名"+name);
        System.out.println("年龄"+age);
    }

    public static void main(String[] args) {
        Student3 student3 = new Student3();
        student3.name = "张三";
        student3.age = 18;
        student3.show();
        student3.read();
    }
}
